package com.study.java.domain;

import java.io.Serializable;
import java.util.Date;

/**
* @Name: User
* @Description: PO类：用户信息类
* @Author: XXX
* @CreateDate: XXX
* @Version: V1.0
 */
public class User implements Serializable {
	
	private static final long serialVersionUID = 5274992031371114394L;
	
	private String username ;
	private String password ;
	private Date birthday ;
	private String email ;
	
	public User() {}
	
	public User(String username, String password, Date birthday, String email) {
		this.username = username;
		this.password = password;
		this.birthday = birthday;
		this.email = email;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password
				+ ", birthday=" + birthday + ", email=" + email + "]";
	}
}
